const Koa = require('koa')
const app = new Koa();
const upload = require('./routes/upload')
app.use(upload.routes()).use(upload.allowedMethods())
app.listen(7000, () => console.log('服务器在7000端口启动了'))